﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_CASEDISPATCHINGHISTORY.cs
// 项目名称：Lovol 
// 创建时间：2011/10/24
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_CASEDISPATCHINGHISTORY数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_CASEDISPATCHINGHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_CASEDISPATCHINGHISTORY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_CASEDISPATCHINGHISTORY_Entity
    {
        #region 变量定义
        ///<summary>
        ///自增编号
        ///</summary>
        private long _aUTOID;
        ///<summary>
        ///处理对象类型
        ///</summary>
        private long? _pROCESSINGOBJECTTYPE = 0;
        ///<summary>
        ///处理部门编号
        ///</summary>
        private long? _pROCESSINGDEPARTMENTID = 0;
        ///<summary>
        ///处理部门代码
        ///</summary>
        private string _pROCESSINGDEPARTMENTCODE = String.Empty;
        ///<summary>
        ///处理部门名称
        ///</summary>
        private string _pROCESSINGDEPARTMENTNAME = String.Empty;
        ///<summary>
        ///处理人编号
        ///</summary>
        private long? _pROCESSINGUSERID = 0;
        ///<summary>
        ///处理人姓名
        ///</summary>
        private string _pROCESSINGUSERNAME = String.Empty;
        ///<summary>
        ///处理人登录名
        ///</summary>
        private string _pROCESSINGLOGINNAME = String.Empty;
        ///<summary>
        ///派工类型
        ///</summary>
        private long? _dISPATCHINGTYPE = 0;
        ///<summary>
        ///派工时间
        ///</summary>
        private DateTime? _dISPATCHINGTIME;
        ///<summary>
        ///派工人
        ///</summary>
        private string _dISPATCHINGPEOPLE = String.Empty;
        ///<summary>
        ///处理方法
        ///</summary>
        private string _aPPROACH = String.Empty;
        ///<summary>
        ///工单编号
        ///</summary>
        private long? _cASEID = 0;
        ///<summary>
        ///工单类型
        ///</summary>
        private long? _cASETYPE = 0;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///操作
        ///</summary>
        private string _oPERATIONNAME = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_CASEDISPATCHINGHISTORY_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///自增编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_CASEDISPATCHINGHISTORY")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long AUTOID
        {
            get { return _aUTOID; }
            set { _aUTOID = value; }

        }

        ///<summary>
        ///处理对象类型
        ///</summary>		
        public long? PROCESSINGOBJECTTYPE
        {
            get { return _pROCESSINGOBJECTTYPE; }
            set { _pROCESSINGOBJECTTYPE = value; }

        }

        ///<summary>
        ///处理部门编号
        ///</summary>		
        public long? PROCESSINGDEPARTMENTID
        {
            get { return _pROCESSINGDEPARTMENTID; }
            set { _pROCESSINGDEPARTMENTID = value; }

        }

        ///<summary>
        ///处理部门代码
        ///</summary>		
        public string PROCESSINGDEPARTMENTCODE
        {
            get { return _pROCESSINGDEPARTMENTCODE; }
            set
            {
                _pROCESSINGDEPARTMENTCODE = value;
            }

        }

        ///<summary>
        ///处理部门名称
        ///</summary>		
        public string PROCESSINGDEPARTMENTNAME
        {
            get { return _pROCESSINGDEPARTMENTNAME; }
            set
            {
                _pROCESSINGDEPARTMENTNAME = value;
            }

        }

        ///<summary>
        ///处理人编号
        ///</summary>		
        public long? PROCESSINGUSERID
        {
            get { return _pROCESSINGUSERID; }
            set { _pROCESSINGUSERID = value; }

        }

        ///<summary>
        ///处理人姓名
        ///</summary>		
        public string PROCESSINGUSERNAME
        {
            get { return _pROCESSINGUSERNAME; }
            set
            {
                _pROCESSINGUSERNAME = value;
            }

        }

        ///<summary>
        ///处理人登录名
        ///</summary>		
        public string PROCESSINGLOGINNAME
        {
            get { return _pROCESSINGLOGINNAME; }
            set
            {
                _pROCESSINGLOGINNAME = value;
            }

        }

        ///<summary>
        ///派工类型
        ///</summary>		
        public long? DISPATCHINGTYPE
        {
            get { return _dISPATCHINGTYPE; }
            set { _dISPATCHINGTYPE = value; }

        }

        ///<summary>
        ///派工时间
        ///</summary>		
        public DateTime? DISPATCHINGTIME
        {
            get { return _dISPATCHINGTIME; }
            set { _dISPATCHINGTIME = value; }

        }

        ///<summary>
        ///派工人
        ///</summary>		
        public string DISPATCHINGPEOPLE
        {
            get { return _dISPATCHINGPEOPLE; }
            set
            {
                _dISPATCHINGPEOPLE = value;
            }

        }

        ///<summary>
        ///处理方法
        ///</summary>		
        public string APPROACH
        {
            get { return _aPPROACH; }
            set
            {
                _aPPROACH = value;
            }

        }

        ///<summary>
        ///工单编号
        ///</summary>		
        public long? CASEID
        {
            get { return _cASEID; }
            set { _cASEID = value; }

        }

        ///<summary>
        ///工单类型
        ///</summary>		
        public long? CASETYPE
        {
            get { return _cASETYPE; }
            set { _cASETYPE = value; }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///操作
        ///</summary>		
        public string OPERATIONNAME
        {
            get { return _oPERATIONNAME; }
            set
            {
                _oPERATIONNAME = value;
            }

        }
        #endregion

    }
}
